/********************************************************************
  Copyright by PCI, 2002-10-08
  File Name: db_ppm_va_ext_info.cxx
  Created Date: 2002-10-08 
  Author: Machine
  Version: 1.0 
  Last Version Date: 
  Version Date:
*******************************************************************/
/********************************************************************
  Copyright by PCI, 2002-10-08
  Class Name: CTable_PPM_VA_EXT_INFO
  Created Date: 2002-10-08 
  Author: Machine
  Defined File: db_ppm_va_ext_info.hxx
  Last Version Date: 
  Version Date:
*******************************************************************/
#include "table_ppm.h" 

CTable_PPM_VA_EXT_INFO::CTable_PPM_VA_EXT_INFO( )
 :NPCRecordSet( )
{
  setTableName( "PPM_VA_EXT_INFO" );
  prepareTable();
  prepareQuery();
 
  ID.setField( "ID", DATA_DOUBLE, 22, 1 );
  makeTableItem( ID );
  makeKeyItem( ID ); 
  APP_ID.setField( "APP_ID", DATA_CHAR, 20, 0 );
  makeTableItem( APP_ID );
  OBJ_TYPE.setField( "OBJ_TYPE", DATA_CHAR, 20, 0 );
  makeTableItem( OBJ_TYPE );
  OBJ_VALUE.setField( "OBJ_VALUE", DATA_CHAR, 50, 0 );
  makeTableItem( OBJ_VALUE );
}


CTable_PPM_VA_EXT_INFO::CTable_PPM_VA_EXT_INFO( NPConnection& pcldb )
 :NPCRecordSet( pcldb )
{
  setTableName( "PPM_VA_EXT_INFO" );
  prepareTable();
  prepareQuery();
 
  ID.setField( "ID", DATA_DOUBLE, 22, 1 );
  makeTableItem( ID );
  makeKeyItem( ID ); 
  APP_ID.setField( "APP_ID", DATA_CHAR, 20, 0 );
  makeTableItem( APP_ID );
  OBJ_TYPE.setField( "OBJ_TYPE", DATA_CHAR, 20, 0 );
  makeTableItem( OBJ_TYPE );
  OBJ_VALUE.setField( "OBJ_VALUE", DATA_CHAR, 50, 0 );
  makeTableItem( OBJ_VALUE );
}

CTable_PPM_VA_EXT_INFO::~CTable_PPM_VA_EXT_INFO( )
{
    close();
}

